package com.qs.mall.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


@Data
@Entity
@Table(name = "tb_product")
public class Product implements Serializable {

    @Id
    private Long id;

    private String productName;

    private Integer status;

    private Double price;

    private String productDesc;

    private String caption;

}

